package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: demo
 * @description:
 * @author: zhouhongtao
 * @happyCreateTime: 2021/11/23 20:19
 */
@RestController
public class HelloWord {

    @GetMapping("getHello")
    public String helloWord(){

        try {
            Thread.sleep(1500L);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        return "Hello world";
    }


}
